// 专家信息管理
import request from '@/utils/request'

export default {
  // 条件分页查询
  queryPageByCondition(params) {
    const url = 'socialized-expert/person/queryPageByCondition'
    return request.post(url, params)
  },
  // 添加
  addExpertInfo(params) {
    const url = 'socialized-expert/person/add'
    return request.post(url, params)
  },
  // 修改
  editExpertInfo(params) {
    const url = 'socialized-expert/person/edit'
    return request.put(url, params)
  },
  // 删除
  delExpertInfo(params, id) {
    const url = `socialized-expert/person/del?id=${id}`
    return request.delete(url, params)
  }
}
